---
description: "Reference for Nitric's v0 .NET library - Delete a document from a collection"
---

# .NET - Collection.Doc.Delete()

Delete a document from a collection.

```csharp
using Nitric.Sdk;
using Nitric.Sdk.Resources;

var profiles = Nitric.Collection<Profile>("profiles").With(CollectionPermission.Reading);

var drakesProfile = profiles.Doc("Drake Mallard");

drakesProfile.Delete();

Nitric.Run();
```

### See also

- [Doc.Set()](./collection-doc-set)
- [Doc.Get()](./collection-doc-get)
